home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 076-100 / scopedisk90 / qed19 / qed_manual.doc < prev    next >
Encoding:
Text File  |  1995-03-19  |  45.6 KB  |  1,046 lines

  1.  
  2.  
  3.  
  4.  
  5.                                      QED
  6.  
  7.                               AMIGA TEXT EDITOR
  8.  
  9.                      Copyright 1989 by Darren M. Greenwald
  10.  
  11.                               All rights reserved
  12.  
  13.  
  14.                              User's documentation
  15.                        Last revised 7/18/89  -  QED 0.18
  16.  
  17.      QED may be freely distributed.  It may not be distributed in any
  18. commercial product, shareware product, or commercial publication without
  19. permission.  It is permissible to release QED as part of a public domain
  20. collection, or on a telecommunication service as long as no "special
  21. charge" is made for this program; "special charge" does not include
  22. "reasonable" charges for replication of the media, or standard charges for
  23. use of the system. 
  24.  
  25.      The intent of the above should be clear - I did the work, and while
  26. you are allowed to freely distribute the program, you may not profit from
  27. it.
  28.  
  29.      Any archived files which the author distributes MUST be left intact. 
  30. If you do distribute this program, I insist that you distribute all the
  31. files including any notices.
  32.  
  33.      QED is SHAREWARE - the registration fee is $20, and in return you will
  34. receive complete documentation describing QED's command line language,
  35. ARexx interfacing, keyboard mapping, etc.
  36.  
  37.  
  38.      Darren M. Greenwald
  39.      2511 W. Sunflower Av. #D-16
  40.      Santa Ana, CA 92704
  41.  
  42.      GEnie E-MAIL address: DMG
  43.  
  44.  
  45. DISCLAIMER:
  46. ---------------------------------------------------------------------
  47.  
  48.      In no way can the author be held responsible for any damages, loss of
  49. anticipated profits, or any other perceived loss related to using this
  50. program.  The user assumes the entire risk, and responsibility when using
  51. this program.
  52.  
  53.  
  54.  
  55. TABLE OF CONTENTS
  56. ---------------------------------------------------------------------
  57.  
  58. Section i    .................. Introduction
  59. Section ii   .................. Registration
  60.  
  61. Section 1.0  .................. Starting QED
  62. Section 2.0  .................. QED Requesters
  63. Section 3.0  .................. Opening files
  64. Section 4.0  .................. Saving files
  65. Section 5.0  .................. Opening new windows
  66. Section 6.0  .................. Window options
  67. Section 7.0  .................. Positioning the cursor
  68. Section 8.0  .................. Basic editing keys
  69. Section 9.0  .................. Deleting text
  70. Section 10.0 .................. Block operations
  71. Section 11.0 .................. Search & Replace
  72. Section 12.0 .................. Formatting text
  73. Section 13.0 .................. Indenting text
  74. Section 14.0 .................. Miscellaneous features
  75. Section 15.0 .................. Command line mode, and ARexx macros
  76. Section 16.0 .................. Editing binary characters
  77. Section 17.0 .................. Printing
  78. Section 18.0 .................. Making QED resident (and QGO)
  79.  
  80.  
  81. Section i                INTRODUCTION TO QED
  82. =====================================================================
  83.  
  84.      QED is a fast, and easy to use general-purpose "text-editor".  There
  85. are no built-in limits on the number of windows which can be opened, file
  86. size, line length, or number if lines per file other then any memory
  87. limitations.  Memory is dynamically allocated, and deallocated through out
  88. the program, and memory is used in an efficient manner.  As you enter
  89. text, additional memory is automatically allocated as needed.
  90.  
  91.      QED allows you to work with multiple text editing buffers in the form
  92. of separate text editing windows.  Each new window requires a minimal
  93. amount of memory.  Data can be shared between text editing windows via
  94. cut, copy, and paste.  There is no significant performance penalty for
  95. working with multiple text editing windows.  Each text editing window can
  96. have unique editings options, settings, colors, etc.
  97.  
  98.      QED will work with non-proportional system fonts of any size with the
  99. understanding that fonts wider then Topaz 9, and/or taller then Topaz 11
  100. may be too large for use on a 640x200 Workbench screen.  This is because
  101. QED adjusts the size of the pull-down menus, and requesters to use your
  102. system font.  FastText (Copyright 1988 by Darren M. Greenwald) is built
  103. into the program.  "FastText" is a blitter based fast text rendering
  104. routine which will speed up rendering of fonts of any height, and from 4-16
  105. pixels wide.  QED also uses your system's keymap to decode the
  106. alpha-numeric keys (dead-keys too), and will work properly with over-sized
  107. Workbench screens.
  108.  
  109.      QED has extremely fast search, and replace capabilities.  A
  110. lightening fast formatter allows you to format a paragraph, or marked
  111. block text.  In fact many of QED's features can be limited to a marked
  112. block of text.  A full ARexx interface, and keyboard mapping is supported
  113. for the advanced users, while the full Intuition interface makes QED easy
  114. to use.
  115.  
  116.  
  117. Section ii                    REGISTRATION
  118. =====================================================================
  119.  
  120.      QED is SHAREWARE.  The registration fee is $20, and should be sent to:
  121.  
  122.                              Darren M. Greenwald
  123.  
  124.                          2511 W. Sunflower Av. #D-16
  125.                              Santa Ana, CA 92704
  126.  
  127.  
  128.  
  129.      Please include your name, address, and if you would like, a GEnie
  130. E-MAIL address where you can be reached.  The registration fee may be
  131. increased in the future.
  132.  
  133.      I can also be contacted on GEnie, E-MAIL address "DMG".  You are also
  134. invited to stop by the Amiga Programmer's RoundTable (PRO-AM) page 670.
  135.  
  136.      I would like to think that $20 is a very reasonable fee for software of
  137. this caliber.  The SHAREWARE method of distribution is less expensive then
  138. standard commercial distribution, and allows me to distribute updates
  139. quickly, and inexpensively.
  140.  
  141.      Registered owners will also receive:
  142.  
  143.      1.) Documentation describing the built in command line language, and
  144.          advanced features which are only accessable via the command line
  145.          language (e.g. insert multiple lines).
  146.  
  147.      2.) Documentation explaining how to write ARexx macros for use with QED.
  148.  
  149.      3.) Documentation explaining how to configure QED via an ARexx
  150.          start-up macro.
  151.  
  152.      4.) Documentation explaining how to create macros which are
  153.          automatically executed when a file is opened (based on the file
  154.          name's extension).
  155.  
  156.      5.) Documentation explaining how to configure the keyboard, and
  157.          function keys to execute QED commands, DOS commands, and/or ARexx
  158.          macros.
  159.  
  160.      6.) A disk containing the latest release of QED, and a number of
  161.          example macros.
  162.  
  163.      These capabilities allow you to extend QED's features, and create a
  164. customized working environment.  If you don't already have ARexx, I highly
  165. recommend you purchase it.  ARexx is a copyrighted program by William S.
  166. Hawes.
  167.  
  168.      Unfortunately, I will not be able to send free software updates to
  169. registered users due to the cost of mailing, however, software updates will
  170. be made available to registered users for a nominal fee to cover mailing
  171. and material costs.
  172.  
  173.  
  174. Section 1.0                   STARTING QED
  175. =====================================================================
  176.  
  177.      It is assumed the user knows how to install QED on their system, or
  178. working disk.  QED is a stand alone program, and is easily copied to any
  179. destination directory; no special support libraries are required.  A small
  180. utility program called "QGO" is also provided which is needed if QED is
  181. run in its resident mode.
  182.  
  183.      By default, QED opens a single, un-named text editing window upon
  184. start up.  You may begin entering text immediately if you like, or open an
  185. existing file for editing.  ARexx owners have the option of creating a
  186. start up macro which will be automatically executed when QED is started. 
  187. All of QED's options, and capabilities can be accessed using the macro
  188. capability, so this is an excellent way to create a configuration file to
  189. set the various options up the way that you want.  Only registered users
  190. will receive documentation describing QED's built in command language, and
  191. how to write ARexx macros for use with QED. 
  192.  
  193.  
  194. Section 2.0                QED REQUESTERS
  195. =====================================================================
  196.  
  197.      At times QED will ask for a response from you in the form of a
  198. requester.  All QED requesters are opened in draggable windows, and the
  199. position of all requesters is remembered for the duration of the editing
  200. session.  Therefore you can place the requester windows where you want
  201. them, and they will be opened in the same position where you last left
  202. them.  The size of all requesters are adjusted (width & height) to use your
  203. system font.
  204.  
  205.  
  206.      The File Requester -
  207.      ------------------
  208.  
  209.      Amiga users should be relatively familiar with file requesters,
  210.      however it is worth noting the following:
  211.  
  212.      The QED file requester can display up to 8 files, or sub-directory
  213.      names.  Directory entries are sorted in non-case senstive order, and
  214.      displayed such that sub-directories take precedence over file names.
  215.  
  216.      The QED file requester does not make you wait for the directory to be
  217.      read before you can enter a file name, or change directories.
  218.  
  219.      QED's file requester makes it EASY to select a file, or sub-directory
  220.      name before the entire directory has been read.  First, you can
  221.      enter a new path name, or a file name before the entire directory
  222.      has been read.  Second, QED's file requester does not continually,
  223.      or periodically change the list of names on you until you drag the
  224.      scroll bar.  This means that you can actually single, or double click
  225.      on a name before the entire directory has been read, and not have
  226.      to worry about the list of names changing on you faster then you
  227.      can move the mouse! 
  228.  
  229.      The string gadget labeled "File:" is automatically activated, so it is
  230.      possible in some cases to enter a file name from the keyboard, and
  231.      press the RETURN key without ever touching the mouse.
  232.  
  233.      This file requester dynamically allocates, and deallocates memory as
  234.      needed for the directories; there is no built-in limit on the number
  235.      of directory entries that this requester can handle.
  236.  
  237.      A gadget labeled "TOGGLE:" allows you to toggle between a list of
  238.      devices in your system, and the directory list.  There is no built-in
  239.      limit on the number of devices which this requester can handle, and 
  240.      device names of up to 31 characters in length do not present a problem
  241.      as they do with some requesters.
  242.  
  243.      You may use the ARP file requester if you prefer (this option can be
  244.      set from the command mode, and requires the arp.library version 34 or
  245.      greater).
  246.  
  247.  
  248.      Input requesters -
  249.      ----------------
  250.  
  251.      Input requesters expect you to respond by typing in a number, or a
  252.      string of text.  Input requesters automatically activate the string
  253.      gadgets so often it is possible to respond by entering the
  254.      number or string(s), and pressing the RETURN key.  Of course you can
  255.      also respond using the mouse to select OK, or CANCEL.  If none of the 
  256.      string gadgets are activated, you can respond with the 'o' or 'c' keys 
  257.      on the keyboard.
  258.  
  259.      Notices & Queries -
  260.      -----------------
  261.  
  262.      Notices can only be responded to with an "OK" response, while queries
  263.      allow you to respond with an "OK" or "CANCEL" response.  If you
  264.      prefer, you can also respond to these requesters using the 'o' or 'c'
  265.      keys on the keyboard
  266.  
  267.  
  268. Section 3.0                   OPENING FILES
  269. =====================================================================
  270.  
  271.      QED allows you to OPEN, or INSERT existing files.  The difference is
  272. that opening a file replaces the text editing buffer, while inserting a
  273. file 'inserts' the file below the cursor position.  When opening a file,
  274. you will be prompted with a requester if you have made any changes to the
  275. text buffer being replaced.
  276.  
  277.      It is also possible to specify one, or more file names to be
  278. automatically opened in separate text editing windows when starting QED
  279. such as:
  280.  
  281. 1> run qed hello.c read_me "df0:my file"
  282.  
  283.      In the above example, QED will attempt to open the files named
  284. "hello.c", "read_me", and "df0:my file" in separate text editing windows. 
  285. If any of the above files are not found, then QED assumes you want to
  286. create a file of the same name, and opens an empty text editing window.
  287.  
  288.      QED is not suitable for use as a binary file editor because some
  289. binary characters are stripped, and converted to other characters when
  290. opening, or inserting a file.
  291.  
  292. Binary value         Action taken
  293. --------------------------------------------------------
  294. 11-255               Valid characters.  No stripping or conversion.
  295.  
  296. 10                   Linefeed - treated as an end of line character.
  297.  
  298. 9                    Tab - If "TAB = SPACES" under the "Options" menu is
  299.                      turned ON, then hard tabs are expanded to spaces
  300.                      when a file is opened, or inserted based upon the
  301.                      windows tab size setting which can be any value from
  302.                      1-8.  If "TAB = SPACES" is OFF (the default setting),
  303.                      then hard tabs are left in a file when opened, or
  304.                      inserted.
  305.  
  306. 1-8                  Valid characters.  No stripping or conversion.
  307.  
  308. 0                    Stripped at load time.
  309.  
  310.  
  311. Selecting "OPEN", or "INSERT" file under the "Project" will result in the
  312. file requester being displayed.
  313.  
  314.  
  315. Section 4.0                   SAVING FILES
  316. =====================================================================
  317.  
  318.      QED allows you to save the entire text editing buffer, or a marked
  319. block of text using the "SAVE AS" option under the "Project" menu.  The
  320. "SAVE AS" option causes the file requester to be displayed.  Named files
  321. can be quickly saved (if any changes have been made to the file) using the
  322. "SAVE" option under the "Project" menu.
  323.  
  324.      In order to save a marked block of text, highlight the block (see the
  325. section described later on how to mark blocks of text), and simply select
  326. "SAVE AS".  When mark block mode is on, it is implied that you want to save
  327. just the marked block of text.  When mark block mode is off, it is implied
  328. that you want to save the entire text editing buffer to a file.
  329.  
  330.      You have the option of creating a backup file under the "Options"
  331. menu.  When turned on, QED will rename any file which is going to be
  332. over-written as 'qed.backup' before saving the file.  This allows you an
  333. opportunity to recover the over-written file should you over-write a file
  334. by mistake.
  335.  
  336.      You also have the option of saving text to a file in append mode under
  337. the "Options" menu.  This capability is often handy when you want to save
  338. multiple blocks of text to a single file.  When this option is turned on,
  339. all text written to a file will be appended to the end of the file.  If the
  340. file does not exist, it will be created.
  341.  
  342.  
  343. Section 5.0                OPENING A NEW WINDOW
  344. =====================================================================
  345.  
  346.      QED supports multiple text editing buffers in the form of an unlimited
  347. number of text editing windows.  This is advantageous because you can see
  348. what each buffer holds, and edit any buffer.  There is no built-in limit
  349. on the number of windows which can be opened other then that which the
  350. operating system can handle, and memory limitations.  There is also no
  351. significant performance penalty for opening multiple windows other then
  352. that which is typical of the operating system when managing multiple
  353. windows on the Workbench screen.
  354.  
  355.      In order to open a new window, select "NEW" under the "Project" menu. 
  356. Note that the pull-down menus are accessable, and shared by all text
  357. editing windows.  It is also important to note that menu selections affect
  358. the window from which the menu item was selected.  For example, selecting
  359. "QUIT" from a window causes only that window to be closed.  When the last
  360. window is closed, QED is automatically terminated.
  361.  
  362.      The general layout of a QED text editing window is depicted by the
  363. diagram below:
  364.  
  365.        ------ File name           -------  Line/Column cursor position
  366.        |                          |
  367. ----------------------------------------------------------
  368. | QED - Untitled              L:     1  C:    20   |  |  |- Front/Back
  369. ----------------------------------------------------------
  370. |                                                      |_|- Top of file
  371. |                                                      |_|- Page up
  372. |                                                        |
  373. |                                                        |
  374. |                      Text editing                      |
  375. |                        work area                       |
  376. |                                                        |
  377. |                                                        |
  378. |                                                       _|
  379. |                                                      |_|-Page down
  380. |                                                      |_|-End of file
  381. |                                                      | |-Window size
  382. ----------------------------------------------------------
  383.  
  384.      You can define the default window size that QED will use to open a
  385. window upon startup, as well as any NEW windows opened via the pull-down
  386. menus.  This capability requires the use of the SETENV function provided as
  387. part of the 1.3 operating system.
  388.  
  389.      In order to use this function, assign ENV: to the RAM: disk, and
  390. use the SETENV command such as -
  391.  
  392. 1>setenv qedsize "0 20 300 100"
  393.  
  394.      Where the four parameters are left edge, top edge, width, and height
  395. in pixels.  If you enter any erroneous arguments, the window is opened to
  396. the full size of the WB screen a few pixels below the title bar.  Ideally
  397. you would make the assignment of the environment variable "qedsize" as part
  398. of your startup-sequence.
  399.  
  400.  
  401.  
  402. Section 6.0                WINDOW OPTIONS
  403. =====================================================================
  404.  
  405.      Each text editing window has its own private text editing buffer, and
  406. private characteristics including:
  407.  
  408.      Under the "Tools" menu
  409.      ----------------------
  410.  
  411.      Pen and paper colors -
  412.  
  413.           Pen, and paper colors can be toggled between 4 preset color
  414.      combinations by selecting "COLOR" under the "Tools" menu.  These
  415.      color combinations have been selected to also work properly using a
  416.      one bit-plane Workbench screen such as is possible using the
  417.      1008x800 monitor.
  418.  
  419.           From the command line mode it is also possible to set a specific
  420.      preset color combination, or any pen/paper color combination of your
  421.      choice.  Pen/Paper colors can be set from 0-255 should newer Amigas
  422.      offer more on-screen colors.
  423.  
  424.  
  425.      Tab size -
  426.  
  427.           The tab size can be set individually from 1-8 for each window
  428.      under the "Tools" menu, but by default is set to the proper value of
  429.      eight (8).  The tab size is used when calculating how many spaces to
  430.      insert when using soft tabs, and affects how hard tabs are displayed.
  431.  
  432.  
  433.      Right margin -
  434.  
  435.           The right margin can be set individually for each window under
  436.      the "Tools" menu.  The right margin setting is used by the formatter,
  437.      and word-wrap routine.  By default, the right margin is set to 75, but
  438.      can be set to any value from 8-10000.
  439.  
  440.           As an alternative, you can set the right margin to a value of one
  441.      (1) in which case the right margin is variable based on window, and
  442.      font width.  In this case the right margin is equivalent to the
  443.      maximum number of columns visible in the window.
  444.  
  445.      Show end of lines -
  446.  
  447.           Selecting "SHOW EOL" under the "Tools" menu toggles visible
  448.      end of line characters on/off.  The actual character used to represent
  449.      end of line characters can be set from the command mode.
  450.  
  451.      Show hard tabs -
  452.  
  453.          Selecting "SHOW TABS" under the "Tools" menu toggles visible
  454.      hard tabs on/off.  The actual character used to represent hard tabs
  455.      can be set from the command mode.
  456.  
  457.      Under the "Options" menu
  458.      ------------------------
  459.  
  460.      Overstrike mode -
  461.  
  462.           QED allows you to enter text in insert, or overstrike mode.
  463.  
  464.      Word wrap -
  465.  
  466.           QED will perform "simple" word-wrap when text is entered past the
  467.      right margin.  This feature should not be confused with the more
  468.      complex real-time paragraph reformatters typical of many word-
  469.      processors.
  470.  
  471.      Case sensitive search mode -
  472.  
  473.           QED allows you to search for text in case, or non-case sensitive
  474.      search modes.  When case sensitive mode is turned off, the alpha
  475.      characters (a-z and A-Z) are treated as equivalent.
  476.  
  477.           For example, you could enter "cat" as a search string, and
  478.      "cat", "CAT", "Cat", etc., would all be found when searching for
  479.      text, and/or when searching & replacing text.
  480.  
  481.      Append saves -
  482.  
  483.           This option allows you to save text to a file in append mode in
  484.      which case any text written to an existing file will be appended to
  485.      the end of the file.  This capability is often useful when marking
  486.      multiple blocks of text to be saved to single a file.
  487.  
  488.      Backup files -
  489.  
  490.           This option will cause any file which is going to be over-written
  491.      by a save operation to be renamed as "qed.backup" before saving the
  492.      file.  This allows you an opportunity to recover a file which is
  493.      inadvertently replaced by a save operation.  
  494.  
  495.      Mark line mode -
  496.  
  497.           When this option is turned on, you can only mark whole lines
  498.      of text to be cut, copied, saved, erased, formatted, replaced,
  499.      and printed.  The block, and project insert functions are also
  500.      affected.  When this options is turned on, a block of text which is
  501.      inserted from the clipboard, or a file will be inserted as a group of
  502.      lines above the cursor position.  This mode will most likely be
  503.      preferred by those working with line oriented text (e.g., programmers).
  504.  
  505.           When this option is turned off, you can mark a block of text
  506.      from any line/column position to any line/column position.  The block,
  507.      and project insert functions are also affected.  When this option is
  508.      turned off, a block of text which is inserted from the clipboard, or a
  509.      file will be inserted at the cursor position.  This mode will most
  510.      likely be preferred by those working with document oriented text.
  511.  
  512.  
  513.      Free form editing -
  514.  
  515.           This option affects the cursor's behavior.  When turned on, the
  516.      cursor can be positioned past the end of line allowing you to enter
  517.      text beyond the end of a line in which case spaces are automatically
  518.      inserted as needed.  This mode will most likely be preferred by those
  519.      working with line oriented text (e.g., programmers).
  520.  
  521.           When turned off, the cursor cannot be moved past the end of line.
  522.      The right cursor key is also affected; if you cursor right past the
  523.      end of a line, the cursor is wrapped to the first character of the
  524.      next line.  This mode will most likely be preferred by those working
  525.      with document oriented text.
  526.  
  527.      Insert tabs -
  528.  
  529.           This option affects how the TAB key behaves.  When turned off,
  530.      the tab key moves the cursor to the next tab stop.  When turned on,
  531.      the TAB key can be used to insert hard tabs, or an equivalent number
  532.      of spaces (see "Tabs equal to spaces" below).
  533.  
  534.      Tabs equal to spaces -
  535.  
  536.           This option affects how the TAB key behaves.  When turned on,
  537.      soft tabs (spaces) are used instead of hard tabs (binary 9).  This
  538.      option is checked for when you press the TAB key, when indenting
  539.      lines, and when a file is opened, or inserted (allowing you to de-tab
  540.      files at load time).
  541.  
  542.      When opening a new window, these characterstics are inherited from the
  543. window from which the "NEW" command was issued.  It is also possible to
  544. write macros which are automatically executed when a file is opened.  This
  545. capability is extremely useful for automatically adjusting the various
  546. window options listed above to suit the type of file you are working on.
  547.  
  548. For example, you might load a "C" source code file in one window, and have
  549. a macro which automatically sets your tab size to three (3), turns mark
  550. line mode on, turns free-form editing on, etc.
  551.  
  552. In another window you might then load a document file, and have a macro
  553. which automatically sets your tab size to five (5), turns mark line mode
  554. off, turns free-form editing off, etc.
  555.  
  556.  
  557. Section 7.0                CURSOR POSITIONING
  558. =====================================================================
  559.  
  560.      Like most text editors, QED allows you to insert, or over-strike text
  561. at the cursor position.  Perhaps the easiest way to position the cursor is
  562. with the mouse using the "point & click" method.  Of course the keyboard
  563. can be used to position the cursor using the cursor keys.
  564.  
  565.      Text scrolling is allowed in all directions, and can be accomplished
  566. via the cursor keys, or mouse using the "point & drag" method.
  567.  
  568.      It is also possible to go to a specific line number (see the "Cursor"
  569. menu), or mark & go to a spot.  Command line mode users have more cursor
  570. positioning tools available such as the ability to go to a specific line,
  571. and column position.
  572.  
  573.  
  574. Cursor key   |  Result
  575. ---------------------------------------------------------------------------
  576.              |
  577. Up           | Move the cursor up a single line.
  578.              |
  579. Down         | Move the cursor down a single line.
  580.              |
  581. Left         | Move the cursor left a single character.  If the cursor is
  582.              | at the beginning of a line, the cursor is wrapped up to the
  583.              | end of the previous line.
  584.              |
  585. Right        | Move the cursor right a single character.
  586.              |
  587. SHIFTED      | Move the cursor up a single window page.
  588. Up           |
  589.              |
  590. SHIFTED      | Move the cursor down a single window page.
  591. Down         |
  592.              |
  593. SHIFTED      | Move the cursor to the previous word.
  594. Left         |
  595.              |
  596. SHIFTED      | Move the cursor to the next word.
  597. Right        |
  598.              |
  599. ALT          | Move the cursor to the first line in the text editing
  600. Up           | buffer.
  601.              |
  602. ALT          | Move the cursor to the last line in the text editing buffer.
  603. Down         |
  604.              |
  605. ALT          | Move the cursor to the beginning of the line.
  606. Left         |
  607.              |
  608. ALT          | Move the cursor to the end of the line.
  609. Right        |
  610.              |
  611. CTRL         | Move the cursor to the top of the window.
  612. Up           |
  613.              |
  614. CTRL         | Move the cursor to the bottom of the window.
  615. Left         |
  616. ---------------------------------------------------------------------------
  617.  
  618.  
  619. Section 8.0                BASIC EDITING KEYS
  620. =====================================================================
  621.  
  622.  
  623. Keypress     |   Result
  624. ---------------------------------------------------------------------------
  625.              |
  626. RETURN       | Splits the line at the cursor position.  If the cursor
  627.              | is positioned beyond the end of the line, a new line is 
  628.              | inserted.
  629.              |
  630. ENTER        | Inserts a new line with AUTO-INDENT.
  631.              |
  632. DELETE       | Deletes the character under the cursor.
  633.              |
  634. BACKSPACE    | Deletes the character to the left of the cursor.  If the 
  635.              | cursor is on the beginning of a line, the BACKSPACE key
  636.              | can be used to join the line with the previous line by
  637.              | effectively deleting the previous end-of-line character.
  638.              |
  639. TAB          | Moves the cursor to the next tab stop.  The tab size by 
  640.              | default is set to the proper tab value of 8, but can be
  641.              | set individually for each window.  You also have the option
  642.              | under the "Options" menu of having the tab key insert a
  643.              | sufficient number of spaces at the cursor position to move
  644.              | the cursor to the next tab stop, or to insert a hard tab.
  645.              |
  646. ---------------------------------------------------------------------------
  647.  
  648.  
  649. Section 9.0                DELETING TEXT
  650. =====================================================================
  651.  
  652.      At times you may want to delete larger pieces of text then is
  653. practical using the BACKSPACE, and DELETE keys described above.  QED
  654. provides a number of tools for deleting text listed under the "Edit" menu.
  655.  
  656.      Delete line -
  657.  
  658.           The entire line on which the cursor resides is deleted.
  659.  
  660.      Delete to end of line -
  661.  
  662.           Deletes all text from the cursor position to the end of the line.
  663.  
  664.      Delete word -
  665.  
  666.           Deletes the word on which the cursor resides.
  667.  
  668.      Undelete -
  669.  
  670.           Text which has been deleted using any of the above 3 functions is
  671.      copied to a 256 byte private backup buffer (one buffer per editing
  672.      window).  The last bit of deleted text (line, word, or end of line)
  673.      can be restored using the undelete command.
  674.  
  675.           QED will allow you to work with lines longer then 256 characters,
  676.      however to insure that you have an opportunity to undelete text, the
  677.      delete tools listed above will not work if the amount of text to be
  678.      deleted exceeds 256 characters.  In this case use the block cut, or
  679.      erase commands.
  680.  
  681.  
  682. Section 10.0                BLOCK OPERATIONS
  683. =====================================================================
  684.  
  685.      QED allows you to mark a block of text to be cut, or copied to a
  686. clipboard area which is used by all the text editing windows.  In addition,
  687. many of the QED commands can be restricted to a marked block of text (e.g.,
  688. SAVE AS, REPLACE, PRINT, FORMAT, etc.).
  689.  
  690.      Mark block mode can be toggled on/off from the pull-down menus under
  691. the "Edit" menu, or can be toggled on/off by "double-clicking" the left
  692. mouse button over the same row/column position.
  693.  
  694.      Mark block mode is transparent; you can continue to edit text like
  695. usual, and the pull-down menus are always accessable.  In order to mark a
  696. block of text, simply toggle mark block mode on, and use the cursor keys,
  697. or mouse to highlight a range of text.
  698.  
  699.      As indicated above, you have the option under the "Options" menu of
  700. toggling between line mark mode (always marks whole lines), or free mark
  701. mode (allows you to mark from/to any row/column position).
  702.  
  703.      Both the CUT, and COPY block tools under the "Edit" menu copy
  704. the marked block of text to the clipboard, however CUT block also deletes
  705. the text.
  706.  
  707.      In some cases you may want to cut a block of text, but you don't
  708. want it copied to the clipboard.  In this case use the ERASE tool under the
  709. "Project" menu.  ERASE will erase all text in a text editing window, and
  710. free any up any memory that it can, however if mark block mode is on, the
  711. ERASE function will only erase the marked block.  In either case you will
  712. be prompted with a requester because any erased text cannot be restored.
  713.  
  714.      INSERT block under the "Edit" menu inserts whatever is in the clipboard
  715. at the cursor position.  If MARK LINE MODE is ON, the contents of clipboard
  716. will be inserted as a group of lines above the cursor position.  If MARK
  717. LINE MODE is OFF, the contents of the clipboard will be inserted at the
  718. cursor position.
  719.  
  720.  
  721. Section 11.0                SEARCH & REPLACE
  722. =====================================================================
  723.  
  724.      The SEARCH, REPLACE, and HUNT tools under the "Tools" menu allow you
  725. to search for a phrase, replace a phrase, and quickly repeat the last
  726. search and/or replace operation.
  727.  
  728.      As indicated above, QED supports both case, and non-case sensitive
  729. search modes, and can be optionally set for each text editing window.
  730.  
  731.      Both SEARCH, and REPLACE will prompt you for strings using a
  732. requester.  Both commands will search forward from the cursor position for
  733. a matching search string, and position the cursor on the first occurrance
  734. of the search string if a match was found.
  735.  
  736.      When using the REPLACE command, you will also be prompted with a
  737. message in the title bar of the window such as:
  738.  
  739.      Replace? (Y)es (N)o (G)lobal (M)arked (Q)uit
  740.  
  741.      You may respond using the upper, or lower case keys on the keyboard
  742.      where (?) causes the following action to be taken:
  743.  
  744.      (Y)es    - Yes, replace the string with the search string, and
  745.                 continue searching.
  746.  
  747.      (N)o     - No, don't replace the string, and continue searching.
  748.  
  749.      (G)lobal - Replace all occurrences of the search string forward from
  750.                 the cursor position.
  751.  
  752.      (M)arked - Replace all occurrences of the search string found within
  753.                 a marked block.  In order to use this option, you must
  754.                 first mark a block of text.
  755.  
  756.      (Q)uit   - Quit searching.  You may also click in the window with
  757.                 the LEFT mouse button to abort the search.
  758.  
  759.      In order to search, and replace on 'end-of-line' characters, simply
  760. use the CTRL-J character in your search, and replace strings to denote
  761. 'end-of-line' characters.  CTRL-J is equivalent to a binary value of 10;
  762. also known as a LINEFEED.  Other control key sequences as listed in Section
  763. 16.0 below may also be used in your search strings as needed.
  764.  
  765.      The HUNT command can be used to repeat the last SEARCH, and/or REPLACE
  766. operation.  When using the HUNT command, searches will skip the character
  767. under the cursor to avoid finding duplicate matches of a string.
  768.  
  769.      
  770. Section 12.0                FORMATTING TEXT
  771. =====================================================================
  772.  
  773.      The FORMAT tool under the "Tools" menu allows you to format a
  774. paragraph, or a marked block of text.
  775.  
  776.      If mark block mode is off, then FORMAT searches forward from the line
  777. on which the cursor resides for two (2) consecutive end of line characters.
  778.  The following illustration may be helpful in better understand how the
  779. FORMAT tool works.
  780.  
  781. Let's suppose the original piece of text looks like this:
  782. --------------------------------------------------------
  783.  
  784. This is some text to demonstrate a point.
  785.  
  786. This is some more text.
  787.  
  788.  
  789. This is how the text is evaluated by the FORMAT command:
  790. -------------------------------------------------------
  791.            _________________________________Cursor position column 11.
  792.           |
  793.           |          _______________________Wrapping will occur here.
  794.           |         |
  795.           |         |    ___________________Right margin is 25.
  796.           |         |   |
  797.           |         |   |        ___________Column 33 is > right margin.
  798.           |         |   |       |
  799. This is some text to demonstrate a point. - This line of text is terminated
  800.                                           - by 2 end-of-line characters.
  801. This is some more text
  802.  
  803.  
  804. This is the result after using the FORMAT command:
  805. -------------------------------------------------
  806.  
  807. This is some text to
  808. demonstrate a point.
  809.  
  810. This is some more text.
  811.  
  812.  
  813.      FORMAT will never insert, or delete any spaces.  What it will do is
  814. replace spaces with end-of-line characters, and vice-versa in an attempt to
  815. cause the affected text to fit in the right margin setting with word-wrap.
  816.  
  817.  
  818. Section 13.0                INDENTING TEXT
  819. =====================================================================
  820.  
  821.      Programmers who work with block oriented languages frequently find
  822. themselves indenting sections of source code left, and right.  Often this
  823. can mean manually deleting, and/or inserting spaces or tabs.  QED provides
  824. a tool which allows you to easily indent a line, or a range of lines to the
  825. next left or right tab position.
  826.  
  827.      Under the "Tools" menu, you have the option of indenting the current
  828. line left, or right to the next tab stop, or indenting multiple lines.  If
  829. you choose the INDENT MULTIPLE tool, you will be prompted with a message in
  830. the window's title bar such as:
  831.  
  832.      Indent? (R)ight (L)eft (S)kip ([) (]) (Q)uit
  833.  
  834.      You may respond using the upper, or lower case keys on the keyboard
  835.      where (?) causes the following action to be taken:
  836.  
  837.      (R)ight - Indent line right, and move cursor to the next line.
  838.  
  839.      (L)eft  - Indent line left, and move cursor to the next line.
  840.  
  841.      (S)kip  - Skip the line, and move cursor to the next line.
  842.  
  843.      ([)     - Indent line left, and don't move the cursor.
  844.  
  845.      (])     - Indent line right, and don't move the cursor.
  846.  
  847.      (Q)uit  - Abort multiple indent utility.  You may also click in the
  848.                window with the LEFT mouse button to quit.
  849.  
  850.  
  851. The INDENT MULTIPLE tool is extremely useful when you wish to change the
  852. indent of a range of lines.  Place the cursor at the top line of the range
  853. you want to change, and repeatedly use the (R), or (L) keys.  You can also
  854. skip lines you dont want changed, and adjust each line individually using
  855. the ([), and (]) keys.
  856.  
  857. You have the option of indenting lines using hard tabs, or soft tabs
  858. (spaces).  If "TAB = SPACES" is turned ON under the "Options" menu, soft
  859. tabs will be used when indenting lines.  If "TAB = SPACES" is turned OFF,
  860. then hard tabs will be used.
  861.  
  862.  
  863. Section 14.0             MISCELLANEOUS FEATURES
  864. =====================================================================
  865.  
  866.      QED allows you to assign any built in QED command, ARexx macro, and
  867. any DOS command to ANY key when pressed alone (including the FUNCTION
  868. keys), or to ANY key when pressed in conjunction with the CTRL, ALT, or
  869. SHIFT keys.  In order to use this capability you will need the Registered
  870. User's Documentation.
  871.  
  872.      The ALT keys can be mapped to imitate the RIGHT AMIGA key menu
  873. alternatives listed in the pull-down menus using a single command from
  874. the command mode, or in an ARexx macro.  For those of you who are
  875. uncomfortable with using the RIGHT AMIGA key, this allows you to use
  876. either the left, or right ALT keys.
  877.  
  878.      Even though there is no "NEW CLI" command in the pull-down menus, the
  879. CTRL/HELP key combination is by default mapped to open a new CLI window.
  880.  
  881.      If you own Brian Jackson's ACK terminal program for the Amiga, you can
  882. mark blocks of text to be sent to ACK via a message port just as if you had
  883. typed the text directly, or sent an ASCII file.  In order to do this,
  884. simply mark a block of text that you want to send, and press CTRL "`". 
  885. Remember that if this does not suit your taste, you can remap the keyboard
  886. as mentioned above.  Only the Amiga makes it possible!
  887.  
  888.      Brian Jackson can be reached on GEnie: E-MAIL address "B.J."
  889.  
  890.      The ERASE function under the "Project" menu will clear, and reset the
  891. text editing buffer as described under section 10.0 above.
  892.  
  893.      The JOIN command under the "Edit" menu will join the line on which the
  894. cursor resides with the previous line.  Joining lines can also be
  895. accomplished by back spacing over the previous end of line character as
  896. described under section 8.0 above.
  897.  
  898.      The MARK SPOT, and GOTO SPOT commands under the "Edit" menu can be
  899. used to mark spot, and quickly return to the same position later, however
  900. the spot may be lost when using the global replace capabilities, or if you
  901. delete the text corresponding to the marked spot.
  902.  
  903.      QED has a built-in keyboard repeat limiting feature which will only
  904. limit repeating key press messages if QED cannot keep up (e.g., during
  905. heavy multi-tasking).  If you have ever used an Amiga program in which you
  906. inadvertently held down a repeating key such as the BACKSPACE key too long,
  907. and watched your last 10 minutes of work be erased, you will appreciate
  908. this feature.
  909.  
  910.      You can quickly move between multiple windows opened with the NEW
  911. command by using the "NEXT", and "PREV" items under the "Project" menu.  If
  912. you have more then one window open, these two items will bring the next, or
  913. previous window to front, and activate as if you had clicked in it with the
  914. mouse. 
  915.  
  916.  
  917. Section 15.0         THE COMMAND LINE MODE & AREXX MACROS
  918. =====================================================================
  919.  
  920.      The "CMD LINE" command under the "Tools" menu causes the command line
  921. window to be opened (if its not already), and assigns the command line
  922. window to the text editing window from which this command was issued.  As
  923. an alternative, you can use the ESC key.  The command line mode allows you
  924. to enter commands, and execute/debug ARexx macros.  Any command which can
  925. be performed using the pull-down menus, or keyboard can be accomplished
  926. from the command line mode, and much more...
  927.  
  928.      The command line mode allows you to perform all of the functions
  929. available in the pull-down menus, execute ARexx macros, and more.  In order
  930. to use this capability you will need the Registered User's Documentation. 
  931.  
  932.      The "RUN MACRO" command under the "Tools" menu will list, and allow you
  933. to execute all ARexx macros in your REXX: directory.
  934.  
  935.  
  936. Section 16.0            EDITING BINARY CHARACTERS
  937. =====================================================================
  938.  
  939.      QED is a text editor, so binary file editing is not fully supported,
  940. however you can open, display, edit, and save most of the binary character
  941. set other then binary 0.  This capability should provide sufficient for
  942. those who would like to insert ANSI, or printer device control sequences in
  943. their files.
  944.  
  945.      QED utilizes your system font, and it is worth noting that AMIGA fonts
  946. generally do not contain character definitions for the complete binary
  947. character set 0-255.  Most system fonts only have character imagery for
  948. binary 32-255, and possibly a smaller subset of characters.  Undefined
  949. characters are displayed using a default image (generally a box).
  950.  
  951.      In order to compensate, QED will display the characters "A" through
  952. "_" in inverted imagery to represent binary 1-31.
  953.  
  954.      You can also enter these characters from the keyboard by holding down
  955. the CTRL key, and pressing the following keys on the keyboard:
  956.  
  957.      a = binary 1                  q = binary 17
  958.      b = binary 2                  r = binary 18
  959.      c = binary 3                  s = binary 19
  960.      d = binary 4                  t = binary 20
  961.      e = binary 5                  u = binary 21
  962.      f = binary 6                  v = binary 22
  963.      g = binary 7                  w = binary 23
  964.      h = binary 8                  x = binary 24
  965.      i = binary 9  (Hard tab)      y = binary 25
  966.      j = binary 10 (Line feed)     z = binary 26
  967.      k = binary 11                 [ = binary 27
  968.      l = binary 12                 \ = binary 28
  969.      m = binary 13 (Cairrage ret)  ] = binary 29
  970.      n = binary 14                 ^ = binary 30 (CTRL SHIFTED 6)
  971.      o = binary 15                 _ = binary 31 (CTRL SHIFTED -)
  972.      p = binary 16
  973.  
  974.      The above sequences rely on the standard operating system routines to
  975. decode the keyboard, however you can assign key values to any keyboard
  976. combination of your choice from the command mode.  Of course you can also
  977. assign whole strings of text which may include binary control sequences to
  978. a key press combination.
  979.  
  980.  
  981. Section 17.0                  PRINTING
  982. =====================================================================
  983.  
  984.      QED allows you to print the entire contents of a windows text editing
  985. buffer, or a marked block of text (if a block is marked).  Simply select
  986. PRINT from the pull down menus, and respond to the requester verifying that
  987. you want to print.  Printing occurs as a background task, and does not
  988. interfere with any other QED features.  You may even quit QED while
  989. printing is still in process.  In this case QED will release as much
  990. memory as it can, and will hang around in a wait state until the printer is
  991. done before fully exiting.
  992.  
  993.      If you select PRINT again while the printer is busy, you will be
  994. prompted with a requester asking if you want to cancel the current print
  995. job.  If you elect to cancel printing, printing will stop as soon as
  996. possible.  If you are using a printer buffer, then of course it may be
  997. necessary to turn the buffer, or printer off to flush the buffer. 
  998.  
  999.  
  1000. Section 18.0             MAKING QED RESIDENT
  1001. =====================================================================
  1002.  
  1003.      QED can be started in "resident" mode by including "-r" (no quotes) as
  1004. the first argument on the command line.  This mode will force QED to hang
  1005. around in memory until awakened by another small utility program provided
  1006. with QED.
  1007.  
  1008.      Normally when you load QED from disk, or from ram disk, QED will exit
  1009. when the last text editing window is closed freeing up all the memory used
  1010. by QED.  If you run, and exit QED frequently, this means that QED must be
  1011. reloaded each time.  Many users place commonly used programs in a ram disk;
  1012. this avoids the delays of reloading a program from floppy, or hard drive,
  1013. but still means that the program must be copied from ram disk to another
  1014. section of memory before being run.
  1015.  
  1016.      QED's resident mode allows you to keep a "single" copy of QED hanging
  1017. around in memory at all times.  This is more efficient then run QED from a
  1018. ram disk, and faster then reloading QED from a floppy, or hard drive.
  1019.  
  1020.      Remember that QED allows you to open an unlimited number of text
  1021. editing windows, that there is no significant performance penalty for
  1022. opening multiple windows, and that this is much more efficient then running
  1023. multiple copies of QED to edit separate files.  You can still run QED as
  1024. separate tasks if desired, however only one copy of QED can be made
  1025. resident, and in most cases one copy of QED is sufficient to handle your
  1026. multi-file editing needs.  
  1027.  
  1028.      If QED is started in resident mode using the "-r" flag, by default no
  1029. text editing windows, or files will be opened.  You can still include a
  1030. list of file names following this command line flag to be automatically
  1031. loaded into separate text editing windows.  See section 3.0 for details on
  1032. specifying a list of files to be opened as CLI arguments.
  1033.  
  1034.      A small utility program has been provided called "QGO" which will send
  1035. the necessary commands to a resident QED task to open new QED windows,
  1036. files, etc.  In fact "QGO" behaves much like QED in that you can specify a
  1037. list of files names to be automatically opened in separate text editing
  1038. windows.  If no file names are included as CLI arguments, "QGO" will send
  1039. the necessary commands to QED to open a single, un-named text editing
  1040. window.
  1041.  
  1042.      Finally "QGO" can also send a command to QED to turn resident mode
  1043. off, in which case QED will be fully exited once the last window is closed.
  1044.  In order to do this, simple include "-q" as the first CLI argument when
  1045. using the "QGO" program.
  1046.